function reSet(id)
{
	var form=document.getElementById(id);
	if(form == undefined){return;}
	var ins=form.getElementsByTagName("input");
	for(var i=0;i<ins.length;i++)
	{
		if(("text" == ins[i].type)||("hidden" == ins[i].type))
		{
			ins[i].value="";
		}
	}
	ins=form.getElementsByTagName("textarea");
	for(var i=0;i<ins.length;i++)
	{
		ins[i].value="";
	}
	
}

